package com.tuanzi.loan.vo.response.family;

import com.tuanzi.loan.core.vo.IdentityResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * User: liangZongXi
 * Create time: 11:18 2018/9/5
 * Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LoanNewAdvertCreditCardResponse extends IdentityResponse {

    private Long cardId; //信用卡id即是活动id
    private String cardName; //信用卡名字即是活动名称
    private Integer advertId;
    private String platform;
    private String prdid;
    private String channel;
    private String logo;
    private Date onlineTime;
    private Date offlineTime;
    private Integer status;
    private Integer sort;
    protected String updator;
    protected Date updateTime;


    public Boolean showOffButton(){
        return 1 == status;
    }
}
